﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CastingWellEquipmentGUI.Model
{
    /// <summary>
    /// Redis报警组件数据
    /// </summary>
    public class RedisAlarming
    {
        /// <summary>
        /// 报警条件主键
        /// </summary>
        public int CondiId { get; set; }
        /// <summary>
        /// 标签名称
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 消息文本（报警内容）
        /// </summary>
        public string AlarmText { get; set; }
        /// <summary>
        /// 报警等级
        /// </summary>
        public int Severity { get; set; }
        /// <summary>
        /// 报警或消除时间
        /// </summary>
        public DateTime EventTime { get; set; }
    }
}
